package com.molyfun.parents.rest.bean;

import com.molyfun.parents.activity.report.plan.IPlantDetailTabCell;
import com.molyfun.parents.rest.BaseResponse;

import java.util.List;

/**
 * Created by william(liuchao.hit@gmail.com).
 * Date:10/21/16.
 * <p>
 * IEP计划Model
 */
public class GetIepPlanTableResponse extends BaseResponse {

    private List<IEPPlanTableBean> data;

    public List<IEPPlanTableBean> getData() {
        return data;
    }

    public static class IEPPlanTableBean {


        /**
         * id : 4028b8815dd08ab5015dd09d3960004e
         * begindatetime : 1501516800000
         * enddatetime : 1512057600000
         * state : null
         * createdatetime : null
         * ieptemplist : [{"id":"4028b8815dd08ab5015dd09f132a0059","name":"认知","trainingdatetime":null,"trainingdatetimeend":null,"createdatetime":null,"ieptemplist":[{"id":"4028b8815dd08ab5015dd0a4a95c007b","name":"因果关系","trainingdatetime":null,"trainingdatetimeend":null,"createdatetime":null,"ieptemplist":null,"ieptempimglist":null},{"id":"4028b8815dd08ab5015dd0a49e3c0079","name":"感觉知觉","trainingdatetime":null,"trainingdatetimeend":null,"createdatetime":null,"ieptemplist":null,"ieptempimglist":null},{"id":"4028b8815dd08ab5015dd0a478e50077","name":"数学概念","trainingdatetime":null,"trainingdatetimeend":null,"createdatetime":null,"ieptemplist":null,"ieptempimglist":null},{"id":"4028b8815dd08ab5015dd09f122b0058","name":"物件概念","trainingdatetime":null,"trainingdatetimeend":null,"createdatetime":null,"ieptemplist":null,"ieptempimglist":null}],"ieptempimglist":null},{"id":"4028b8815dd08ab5015dd09dc6b90055","name":"小肌肉","trainingdatetime":null,"trainingdatetimeend":null,"createdatetime":null,"ieptemplist":[{"id":"4028b8815dd08ab5015dd0a3b6db0073","name":"执笔写画","trainingdatetime":null,"trainingdatetimeend":null,"createdatetime":null,"ieptemplist":null,"ieptempimglist":null},{"id":"4028b8815dd08ab5015dd0a3a5310071","name":"文具及用品操作","trainingdatetime":null,"trainingdatetimeend":null,"createdatetime":null,"ieptemplist":null,"ieptempimglist":null},{"id":"4028b8815dd08ab5015dd0a397db006f","name":"双手配合运用","trainingdatetime":null,"trainingdatetimeend":null,"createdatetime":null,"ieptemplist":null,"ieptempimglist":null},{"id":"4028b8815dd08ab5015dd0a386c1006d","name":"手眼协调","trainingdatetime":null,"trainingdatetimeend":null,"createdatetime":null,"ieptemplist":null,"ieptempimglist":null},{"id":"4028b8815dd08ab5015dd0a36157006b","name":"伸手拾放物件","trainingdatetime":null,"trainingdatetimeend":null,"createdatetime":null,"ieptemplist":null,"ieptempimglist":null},{"id":"4028b8815dd08ab5015dd09dc6b40054","name":"基本操作能力","trainingdatetime":null,"trainingdatetimeend":null,"createdatetime":null,"ieptemplist":null,"ieptempimglist":null}],"ieptempimglist":null}]
         * evalauateieplist : []
         */

        private String id;
        private long begindatetime;
        private long enddatetime;
        private long createdatetime;
        private List<IeptemplistBean> ieptemplist;
        private List<PlanDetailResponse.PlanDetailBean.AnalysislistBean> evalauateieplist;

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public long getBegindatetime() {
            return begindatetime;
        }

        public void setBegindatetime(long begindatetime) {
            this.begindatetime = begindatetime;
        }

        public long getEnddatetime() {
            return enddatetime;
        }

        public void setEnddatetime(long enddatetime) {
            this.enddatetime = enddatetime;
        }

        public long getCreatedatetime() {
            return createdatetime;
        }

        public void setCreatedatetime(long createdatetime) {
            this.createdatetime = createdatetime;
        }

        public List<IeptemplistBean> getIeptemplist() {
            return ieptemplist;
        }

        public void setIeptemplist(List<IeptemplistBean> ieptemplist) {
            this.ieptemplist = ieptemplist;
        }

        public List<PlanDetailResponse.PlanDetailBean.AnalysislistBean> getEvalauateieplist() {
            return evalauateieplist;
        }

        public void setEvalauateieplist(List<PlanDetailResponse.PlanDetailBean.AnalysislistBean> evalauateieplist) {
            this.evalauateieplist = evalauateieplist;
        }


        public static class IeptemplistBean implements IPlantDetailTabCell {
            /**
             * id : 4028b8815dd08ab5015dd0a4a95c007b
             * name : 因果关系
             * trainingdatetime : null
             * trainingdatetimeend : null
             * createdatetime : null
             * ieptemplist : null
             * ieptempimglist : null
             */

            private String id;
            private String name;
            private String trainingdatetime;
            private String trainingdatetimeend;
            private long createdatetime;
            private List<IeptemplistBean> ieptemplist;
            private List<MediaobjectlistBean> ieptempimglist;

            public String getId() {
                return id;
            }

            public void setId(String id) {
                this.id = id;
            }

            public String getName() {
                return name;
            }

            public void setName(String name) {
                this.name = name;
            }

            public String getTrainingdatetime() {
                return trainingdatetime;
            }

            public void setTrainingdatetime(String trainingdatetime) {
                this.trainingdatetime = trainingdatetime;
            }

            public String getTrainingdatetimeend() {
                return trainingdatetimeend;
            }

            public void setTrainingdatetimeend(String trainingdatetimeend) {
                this.trainingdatetimeend = trainingdatetimeend;
            }

            public long getCreatedatetime() {
                return createdatetime;
            }

            public void setCreatedatetime(long createdatetime) {
                this.createdatetime = createdatetime;
            }

            public List<IeptemplistBean> getIeptemplist() {
                return ieptemplist;
            }

            public void setIeptemplist(List<IeptemplistBean> ieptemplist) {
                this.ieptemplist = ieptemplist;
            }

            public List<MediaobjectlistBean> getIeptempimglist() {
                return ieptempimglist;
            }

            public void setIeptempimglist(List<MediaobjectlistBean> ieptempimglist) {
                this.ieptempimglist = ieptempimglist;
            }

            @Override
            public String getFieldtempname() {
                return name;
            }
        }
    }

//    public static class IeplistBean {
//        /**
//         * url : http://oa91iwip0.bkt.clouddn.com/mf/evalute/iep/ic_20170223-174955.xlsx
//         * name : 机构端基本信息字符限制统一.xlsx
//         */
//
//        private String url;
//        private String name;
//
//        public String getUrl() {
//            return url;
//        }
//
//        public void setUrl(String url) {
//            this.url = url;
//        }
//
//        public String getName() {
//            return name;
//        }
//
//        public void setName(String name) {
//            this.name = name;
//        }
//    }

}